#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Result/Nodal/NodalBase.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct GRID_FORCEData : public NodalBase
{
    SG::DataStructure::Common::Id   m_eId       = 0;      ///<
    char                            m_ELNAME[8] = { 0 };  ///<
    SG::DataStructure::Common::Real m_F1        = 0.0;    ///<
    SG::DataStructure::Common::Real m_F2        = 0.0;    ///<
    SG::DataStructure::Common::Real m_F3        = 0.0;    ///<
    SG::DataStructure::Common::Real m_M1        = 0.0;    ///<
    SG::DataStructure::Common::Real m_M2        = 0.0;    ///<
    SG::DataStructure::Common::Real m_M3        = 0.0;    ///<
    SG::DataStructure::Common::Id   m_domainId  = 0;      ///<
};

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const GRID_FORCEData& val1, const GRID_FORCEData& val2);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
